package com.xdz.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xdz.utils.PageUtils;
import com.xdz.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author xdz
 * @email 1351959729@qq.com
 * @date 2020-12-08 20:30:45
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> listTree();

    Long[] selectCatelogPath(Long catelogId);

    String selectCatelogPathName(Long catelogId);

    void updateDetail(CategoryEntity category);
}

